set(ITKFEM_SRC
itkFEMSolution.cxx
itkFEMElement2DC0LinearLine.cxx
itkFEMElement2DC0LinearLineStress.cxx
itkFEMElement2DC0LinearQuadrilateral.cxx
itkFEMElement2DC0LinearQuadrilateralMembrane.cxx
itkFEMElement2DC0LinearQuadrilateralStrain.cxx
itkFEMElement2DC0LinearQuadrilateralStress.cxx
itkFEMElement2DC0LinearTriangular.cxx
itkFEMElement2DC0LinearTriangularMembrane.cxx
itkFEMElement2DC0LinearTriangularStrain.cxx
itkFEMElement2DC0LinearTriangularStress.cxx
itkFEMElement2DC0QuadraticTriangular.cxx
itkFEMElement2DC0QuadraticTriangularStrain.cxx
itkFEMElement2DC0QuadraticTriangularStress.cxx
itkFEMElement2DC1Beam.cxx
itkFEMElement3DC0LinearHexahedron.cxx
itkFEMElement3DC0LinearHexahedronMembrane.cxx
itkFEMElement3DC0LinearHexahedronStrain.cxx
itkFEMElement3DC0LinearTetrahedron.cxx
itkFEMElement3DC0LinearTetrahedronMembrane.cxx
itkFEMElement3DC0LinearTetrahedronStrain.cxx
itkFEMElement3DC0LinearTriangular.cxx
itkFEMElement3DC0LinearTriangularLaplaceBeltrami.cxx
itkFEMElement3DC0LinearTriangularMembrane.cxx
itkFEMElementBase.cxx
itkFEMException.cxx
itkFEMFactoryBase.cxx
itkFEMItpackSparseMatrix.cxx
itkFEMLightObject.cxx
itkFEMLinearSystemWrapper.cxx
itkFEMLinearSystemWrapperDenseVNL.cxx
itkFEMLinearSystemWrapperItpack.cxx
itkFEMLinearSystemWrapperVNL.cxx
itkFEMLoadBC.cxx
itkFEMLoadBCMFC.cxx
itkFEMLoadBase.cxx
itkFEMLoadEdge.cxx
itkFEMLoadElementBase.cxx
itkFEMLoadGrav.cxx
itkFEMLoadLandmark.cxx
itkFEMLoadNoisyLandmark.cxx
itkFEMLoadNode.cxx
itkFEMLoadPoint.cxx
itkFEMMaterialBase.cxx
itkFEMMaterialLinearElasticity.cxx
itkFEMUtility.cxx
dsrc2c.c
)

add_library(ITKFEM ${ITKFEM_SRC})
target_link_libraries(ITKFEM  ${ITKMetaIO_LIBRARIES} ${ITKImageFunction_LIBRARIES} ${ITKRegistrationCommon_LIBRARIES})
itk_module_target(ITKFEM)
# not valid because of dsrc2c.c
set_property(TARGET ITKFEM PROPERTY VISIBILITY_INLINES_HIDDEN 0)
